<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<title>Insert title here</title>

<div class="row no-gutter">
	<div class="col-md-12">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4>轮播图详情</h4>
			</div>
			<div class="panel-body">
                <table class="table table-bordered table-condensed">
                    <tr>
                        <td class="detail-label">标题</td>
                        <td>${focus.title}</td>
                    </tr>
                    <tr>
                        <td class="detail-label">图片</td>
                        <td><img src="${focus.img}" width="300"/></td>
                    </tr>
                    <tr>
                        <td class="detail-label">链接url</td>
                        <td>${focus.targetUrl}</td>
                    </tr>
                    <tr>
                        <td class="detail-label">权重</td>
                        <td>${focus.weight}</td>
                    </tr>
                    <tr>
                        <td class="detail-label">应用平台</td>
                        <td>${focus.platform==1?'手机端':''}${focus.platform==2?'电脑端':''}</td>
                    </tr>
                    <tr>
                        <td class="detail-label">显示位置</td>
                        <td>${focus.position==4?'APP首页':''}</td>
                    </tr>
                </table>
                <a class="btn btn-sm btn-primary" href="${ctx}/pnzFocuss">返回</a>
			</div>
		</div>
	</div>
</div>
